home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / STDREG.PAK / STDRMAC.R < prev    next >
Text File  |  1997-05-06  |  2KB  |  111 lines

  1. //    testMac.r: Macintosh-specific resources
  2.  
  3. #include "types.r"
  4. #include "ftab.r"
  5. #include "CodeFrag.r"
  6.  
  7. resource 'SIZE' (-1)
  8. {
  9.     reserved,
  10.     acceptSuspendResumeEvents,
  11.     reserved,
  12.     canBackground,                
  13.     doesActivateOnFGSwitch,
  14.     backgroundAndForeground,    
  15.     dontGetFrontClicks,            
  16.     ignoreAppDiedEvents,        
  17.     is32BitCompatible,            
  18.     isHighLevelEventAware,
  19.     localAndRemoteHLEvents,
  20.     isStationeryAware,
  21.     useTextEditServices,
  22.     reserved,
  23.     reserved,
  24.     reserved,
  25.  
  26. // Set different sizes depending on whether we're compiling for
  27. //  PowerMacintosh or 68K, debug or retail.
  28.  
  29. #ifdef _MPPC_
  30.  
  31. #ifdef _DEBUG
  32.     3000 * 1024,
  33.     3000 * 1024
  34. #else
  35.     2500 * 1024,
  36.     2500 * 1024
  37. #endif //_DEBUG
  38.  
  39. #else //!_MPPC_
  40.  
  41. #ifdef _DEBUG
  42.     2000 * 1024,
  43.     2000 * 1024
  44. #else
  45.     2000 * 1024,
  46.     2000 * 1024
  47. #endif //DEBUG
  48.  
  49. #endif //_MPPC
  50.  
  51. };
  52.  
  53. resource 'BNDL' (128, purgeable)    // test bundle resource ID
  54. {
  55.     'TEST',            // test signature
  56.     0,                        // resource ID of signature resource:
  57.                             // should be 0
  58.      {
  59.         'ICN#',                // mapping local IDs in 'FREF's to 'ICN#' IDs
  60.         {
  61.             0, 128,
  62.             1, 129
  63.         },
  64.         'FREF',                // local resource IDs for 'FREF's
  65.         {
  66.             0, 128,
  67.             1, 129
  68.         }
  69.     }
  70. };
  71.  
  72. resource 'FREF' (128, purgeable)    // test application
  73. {
  74.     'APPL', 0,
  75.     ""
  76. };
  77.  
  78. resource 'FREF' (129, purgeable)    // test document
  79. {
  80.     'TEST', 1,
  81.     ""
  82. };
  83.  
  84. type 'TEST' as 'STR ';
  85.  
  86. resource 'TEST' (0, purgeable)
  87. {
  88.     "test Application"
  89. };
  90.  
  91. #ifdef _MPPC_
  92.  
  93. resource 'cfrg' (0)
  94. {
  95.     {
  96.         kPowerPC,
  97.         kFullLib,
  98.         kNoVersionNum,
  99.         kNoVersionNum,
  100.         kDefaultStackSize,
  101.         kNoAppSubFolder,
  102.         kIsApp,
  103.         kOnDiskFlat,
  104.         kZeroOffset,
  105.         kWholeFork,
  106.         "test"
  107.     }
  108. };
  109.  
  110. #endif //_MPPC_
  111.